#include<iostream>
#include"TwoWayAdapter.h"
using namespace std;

int main()
{
	string SocketType, PlugType;
	while (1) {
		cout << "Input the Socket(CN,US) and the Plug(CN,US)" << endl;
		cin >> SocketType >> PlugType;
		TwoWay* adapter = new TwoWay();
		adapter->result(SocketType, PlugType);
		delete adapter;
	}

	return 0;
}